#ifndef EVENTHANDLER_H_
#define EVENTHANDLER_H_

#include "irrlicht.h"

using namespace irr;

/**
 * Base class for the set of handlers used to control events in the game, from
 * EventCatcher.
 */
class EventHandler {
	public:
		/// Constructs EventHandler
		EventHandler();
		/**
		 * Checks the event and handles it as necessary. Purely virtual here, as
		 * this is a virtual base class.
		 * @return True on handled events, false if the event is unhandled.
		 */
		virtual bool OnEvent(const SEvent& event) = 0;
		/// Destructs EventHandler
		virtual ~EventHandler();
};

#endif /*EVENTHANDLER_H_*/
